package com.ruoyi.web.work.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 流转作业卡对象 t_key_basic
 *
 * @author gsx
 * @date 2021-02-28
 */
@Data
public class KeyBasic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 炉号 */
    @Excel(name = "炉号")
    private String batch;

    /** 铸件标识 */
    @Excel(name = "铸件标识")
    private String sign;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String model;

    /** 浇筑数量 */
    @Excel(name = "浇筑数量")
    private Long num;

    /** 废品数 */
    @Excel(name = "废品数")
    private Long wasteNum;

    /** 合格率 */
    @Excel(name = "合格率")
    private BigDecimal fpy;

    /** 工序时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "工序时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date workTime;

    /**
     * 类型 1-球铁产品 2-灰铁产品 3-摩配产品
     */
    private Integer type;

}
